package bb.lanxing.model.firmware;

import java.io.Serializable;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;

public final class FirmwareDetailEntity implements Serializable {
    private final String current_firmware_version;
    private String deviceInfoString;
    private final String dfu;
    private String firmwareLocalPath;
    private final String hardware_version;
    private final String latest_firmware_description;
    private final String latest_firmware_url;
    private final String latest_firmware_version;
    private final String model;
    private final boolean need_update;
    private final String sn;

    public final String component1() {
        return this.current_firmware_version;
    }

    public final String component10() {
        return this.deviceInfoString;
    }

    public final String component11() {
        return this.firmwareLocalPath;
    }

    public final String component2() {
        return this.dfu;
    }

    public final String component3() {
        return this.hardware_version;
    }

    public final String component4() {
        return this.latest_firmware_description;
    }

    public final String component5() {
        return this.latest_firmware_url;
    }

    public final String component6() {
        return this.latest_firmware_version;
    }

    public final String component7() {
        return this.model;
    }

    public final boolean component8() {
        return this.need_update;
    }

    public final String component9() {
        return this.sn;
    }

    public final FirmwareDetailEntity copy(String current_firmware_version, String dfu, String hardware_version, String latest_firmware_description, String latest_firmware_url, String latest_firmware_version, String model, boolean z, String sn, String deviceInfoString, String firmwareLocalPath) {
        Intrinsics.checkNotNullParameter(current_firmware_version, "current_firmware_version");
        Intrinsics.checkNotNullParameter(dfu, "dfu");
        Intrinsics.checkNotNullParameter(hardware_version, "hardware_version");
        Intrinsics.checkNotNullParameter(latest_firmware_description, "latest_firmware_description");
        Intrinsics.checkNotNullParameter(latest_firmware_url, "latest_firmware_url");
        Intrinsics.checkNotNullParameter(latest_firmware_version, "latest_firmware_version");
        Intrinsics.checkNotNullParameter(model, "model");
        Intrinsics.checkNotNullParameter(sn, "sn");
        Intrinsics.checkNotNullParameter(deviceInfoString, "deviceInfoString");
        Intrinsics.checkNotNullParameter(firmwareLocalPath, "firmwareLocalPath");
        return new FirmwareDetailEntity(current_firmware_version, dfu, hardware_version, latest_firmware_description, latest_firmware_url, latest_firmware_version, model, z, sn, deviceInfoString, firmwareLocalPath);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof FirmwareDetailEntity)) {
            return false;
        }
        FirmwareDetailEntity firmwareDetailEntity = (FirmwareDetailEntity) obj;
        return Intrinsics.areEqual(this.current_firmware_version, firmwareDetailEntity.current_firmware_version) && Intrinsics.areEqual(this.dfu, firmwareDetailEntity.dfu) && Intrinsics.areEqual(this.hardware_version, firmwareDetailEntity.hardware_version) && Intrinsics.areEqual(this.latest_firmware_description, firmwareDetailEntity.latest_firmware_description) && Intrinsics.areEqual(this.latest_firmware_url, firmwareDetailEntity.latest_firmware_url) && Intrinsics.areEqual(this.latest_firmware_version, firmwareDetailEntity.latest_firmware_version) && Intrinsics.areEqual(this.model, firmwareDetailEntity.model) && this.need_update == firmwareDetailEntity.need_update && Intrinsics.areEqual(this.sn, firmwareDetailEntity.sn) && Intrinsics.areEqual(this.deviceInfoString, firmwareDetailEntity.deviceInfoString) && Intrinsics.areEqual(this.firmwareLocalPath, firmwareDetailEntity.firmwareLocalPath);
    }

    public int hashCode() {
        int hashCode = ((((((((((((this.current_firmware_version.hashCode() * 31) + this.dfu.hashCode()) * 31) + this.hardware_version.hashCode()) * 31) + this.latest_firmware_description.hashCode()) * 31) + this.latest_firmware_url.hashCode()) * 31) + this.latest_firmware_version.hashCode()) * 31) + this.model.hashCode()) * 31;
        boolean z = this.need_update;
        if (z) {
            z = true;
        }
        int i = z ? 1 : 0;
        int i2 = z ? 1 : 0;
        return ((((((hashCode + i) * 31) + this.sn.hashCode()) * 31) + this.deviceInfoString.hashCode()) * 31) + this.firmwareLocalPath.hashCode();
    }

    public String toString() {
        return "FirmwareDetailEntity(current_firmware_version=" + this.current_firmware_version + ", dfu=" + this.dfu + ", hardware_version=" + this.hardware_version + ", latest_firmware_description=" + this.latest_firmware_description + ", latest_firmware_url=" + this.latest_firmware_url + ", latest_firmware_version=" + this.latest_firmware_version + ", model=" + this.model + ", need_update=" + this.need_update + ", sn=" + this.sn + ", deviceInfoString=" + this.deviceInfoString + ", firmwareLocalPath=" + this.firmwareLocalPath + ')';
    }

    public FirmwareDetailEntity(String current_firmware_version, String dfu, String hardware_version, String latest_firmware_description, String latest_firmware_url, String latest_firmware_version, String model, boolean z, String sn, String deviceInfoString, String firmwareLocalPath) {
//        Intrinsics.checkNotNullParameter(current_firmware_version, "current_firmware_version");
//        Intrinsics.checkNotNullParameter(dfu, "dfu");
//        Intrinsics.checkNotNullParameter(hardware_version, "hardware_version");
//        Intrinsics.checkNotNullParameter(latest_firmware_description, "latest_firmware_description");
//        Intrinsics.checkNotNullParameter(latest_firmware_url, "latest_firmware_url");
//        Intrinsics.checkNotNullParameter(latest_firmware_version, "latest_firmware_version");
//        Intrinsics.checkNotNullParameter(model, "model");
//        Intrinsics.checkNotNullParameter(sn, "sn");
//        Intrinsics.checkNotNullParameter(deviceInfoString, "deviceInfoString");
//        Intrinsics.checkNotNullParameter(firmwareLocalPath, "firmwareLocalPath");
        this.current_firmware_version = current_firmware_version;
        this.dfu = dfu;
        this.hardware_version = hardware_version;
        this.latest_firmware_description = latest_firmware_description;
        this.latest_firmware_url = latest_firmware_url;
        this.latest_firmware_version = latest_firmware_version;
        this.model = model;
        this.need_update = z;
        this.sn = sn;
        this.deviceInfoString = deviceInfoString;
        this.firmwareLocalPath = firmwareLocalPath;
    }

    public /* synthetic */ FirmwareDetailEntity(String str, String str2, String str3, String str4, String str5, String str6, String str7, boolean z, String str8, String str9, String str10, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this(str, str2, str3, str4, str5, str6, str7, z, str8, (i & 512) != 0 ? "" : str9, (i & 1024) != 0 ? "" : str10);
    }

    public final String getCurrent_firmware_version() {
        return this.current_firmware_version;
    }

    public final String getDfu() {
        return this.dfu;
    }

    public final String getHardware_version() {
        return this.hardware_version;
    }

    public final String getLatest_firmware_description() {
        return this.latest_firmware_description;
    }

    public final String getLatest_firmware_url() {
        return this.latest_firmware_url;
    }

    public final String getLatest_firmware_version() {
        return this.latest_firmware_version;
    }

    public final String getModel() {
        return this.model;
    }

    public final boolean getNeed_update() {
        return this.need_update;
    }

    public final String getSn() {
        return this.sn;
    }

    public final String getDeviceInfoString() {
        return this.deviceInfoString;
    }

    public final void setDeviceInfoString(String str) {
        Intrinsics.checkNotNullParameter(str, "<set-?>");
        this.deviceInfoString = str;
    }

    public final String getFirmwareLocalPath() {
        return this.firmwareLocalPath;
    }

    public final void setFirmwareLocalPath(String str) {
        Intrinsics.checkNotNullParameter(str, "<set-?>");
        this.firmwareLocalPath = str;
    }
}
